package SoftwareConstruction;

public class mutable {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder(" Hello ");
        sb.append(" World ");
        System.out.println(sb.toString().trim( ));

        String s = " Hello ";
        s += " World ";
        s.trim( );
        System.out.println(s);


    }

}
